<template>
  <el-menu
      :default-active="activeIndex2"
      class="el-menu-demo"
      mode="horizontal"
      @select="handleSelect"
      text-color="#fff"
      active-text-color="#1989fa">
    <el-menu-item index="1">处理中心</el-menu-item>
    <el-menu-item index="3">消息中心</el-menu-item>
    <el-menu-item index="4">订单管理</el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "TopNavMenu",
  data() {
    return {
      activeIndex2: "1-1"
    }
  },
  methods: {
    handleSelect() {

    }
  }
}
</script>

<style scoped>
  .el-menu-item.is-active {
    background-color: #fff !important;
    /*box-shadow: #1989fa;*/
  }

  .el-menu-demo {
    background-color: #1989fa;
  }

</style>